<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<{$Charset}>">
<meta name="Author" content="stevenchow811@163.com">
<meta name="generator" content="<{$UaVersion}>" />
<title>游客发布供求信息&laquo;<{$sitetitle}></title>
<meta name ="keywords" content="游客,发布,供应,求购,招商,加盟,库存,代理,批发">
<meta name ="description" content="<{$sitename}>允许游客在遵守网站协议的基础上自由发布商业信息,请详细填写信息以便让客户迅速找到你。"> 
<link href="<{$CSS_PATH}>css/style.css" rel="stylesheet" type="text/css">
<script language="javascript" src="<{$JS_PATH}>js/prototype.js"></script>
<script language="javascript" src="<{$JS_PATH}>js/general.js"></script>
<script language="javascript" src="<{$JS_PATH}>js/mixselect.js"></script>
<script language="javascript">
<!-- 
function check(frm){
	if($F('trade_topic') == ""){
		alert("请输入供求信息标题");
		$('trade_topic').focus();
		return false;
	}
	if($F('trade_content') == ""){
		alert("请输入该信息的介绍");
		$('trade_content').focus();
		return false;
	}
	if($F('link_man') == ""){
		alert("请输入联系人姓名");
		$('link_man').focus();
		return false;
	}
	if($F('prim_telnumber') == ""){
		alert("请输入联系电话");
		$('prim_telnumber').focus();
		return false;
	}
	if($F('countryid') == "" && $F('countryid')==0){
		alert("请输入所在地区");
		$('countryid').focus();
		return false;
	}
	return true;
}
//-->
</script>
<{$xajax_javascript}>
<script language="javascript">
xajax_rebuildHTML("post.php");
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="<{$page_width}>" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><{include file="`$ThemeName`/element.header.html"}></td>
  </tr>
</table>
<table width="<{$page_width}>"  border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr> 
    <td height="32" valign="bottom"><div align="right">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="10"><img src="<{$tpl_img_path}>default/bg_left.jpg" width="10" height="26" alt=""></td>
          <td width="672" background="<{$tpl_img_path}>default/bg_mid.jpg"><img src="<{$tpl_img_path}>default/bg_mid.jpg" width="10" height="11" alt=""><span class="font15"><img src="<{$tpl_img_path}>default/icon03.gif" width="11" height="11">免费发布供求信息</span></td>
          <td width="68" align="right" background="<{$tpl_img_path}>default/bg_mid.jpg"><a href="./room/tradeedit.php">去商务室&gt;&gt;</a></td>
          <td width="10" align="right"><img src="<{$tpl_img_path}>default/bg_right.jpg" width="10" height="26" alt=""></td>
        </tr>
      </table>
    </div></td>
  </tr>
  <tr> 
    <td valign="top" background="<{$tpl_img_path}>default/bg_border.jpg">
	  <table width="85%"  border="0" align="center" cellpadding="0" cellspacing="0">
        <TR>
          <TD width=15 height="18"><IMG height=18 src="<{$tpl_img_path}>default/table_up_left.gif" width=15></TD>
          <TD width="732" background="<{$tpl_img_path}>default/table_up_bg.gif"></TD>
          <TD width=13 height="18"><IMG height=18 src="<{$tpl_img_path}>default/table_up_right.gif" width=13></TD>
        </TR>
        <tr>
        <TD align=middle background="<{$tpl_img_path}>default/table_left_bg.gif"></TD>
        <td align="center">
		<form name="TradeFrm" enctype="multipart/form-data" method="post" action="<{$smarty.server.PHP_SELF}>" onsubmit="$('Post').disabled=true;">
		<input type="hidden" name="visit_post" value="visit_post" />
            <table width="95%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="35"><span class="gray">&nbsp;（提示:带<font color="#FF6600"> * </font>号的为必填项）</span></td>
                    </tr>
                    <tr>
                      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="100" class="bgblue"></td>
                            <td align="right" valign="top" class="tdright"></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td><table width="100%" border="0" cellspacing="0" cellpadding="5">
                          <tr>
                            <td width="90" align="right" class="tdleft"><font color="#FF6600">*</font> 供求方向:</td>
                            <td class="tdright"><{html_radios name="type_id" options=$TradeTypes checked=$t.TradeTypeId|default:"1" separator=" "}></td>
                          </tr>
                          <tr>
                            <td align="right" class="tdleft"><font color="#FF6600">*</font> 信息标题:</td>
                            <td class="tdright"><input name="trade[topic]" id="trade_topic" type="text" size="32" value=""></td>
                          </tr>
                          <tr>
                            <td align="right" class="tdleft"><font color="#FF6600">*</font> 关 键 词:</td>
                            <td class="tdright"><input name="trade[keywords]" id="trade_keywords" type="text" size="32" value="">
                              (多个关键词请用“,”号隔开)</td>
                          </tr>
                          <tr>
                            <td align="right" class="tdleft"><font color="#FF6600">*</font> 有效期:</td>
                            <td class="tdright"><{html_radios name="expire_days" options=$OfferExpires checked=$t.TradeExpireDays|default:"30" separator=" "}></td>
                          </tr>
                          <tr>
                            <td align="right" class="tdleft"><font color="#FF6600">*</font>所在地区:</td>
                            <td class="tdright"><select name="countryid" id="countryid" USEDATA="dataSrc2" SUBCLASS="1">
                          </select>&nbsp;<select name="provinceid" id="provinceid" USEDATA="dataSrc2" SUBCLASS="2"></select>&nbsp;<select name="cityid" id="cityid" USEDATA="dataSrc2" SUBCLASS="3">
                          </select></td>
                          </tr>
                          <tr>
                            <td align="right" class="tdleft"> 所属行业:</td>
                            <td class="tdright"><select name="aindustry" id="aindustry" USEDATA="dataSrc" SUBCLASS="1">
                              </select>
                                <select name="bindustry" id="bindustry" USEDATA="dataSrc" SUBCLASS="2">
                                </select></td>
                          </tr>

                          <tr>
                            <td align="right" class="tdleft"><font color="#FF6600"> *</font> 详细说明:</td>
                            <td class="tdright"><p>
                                <textarea name="trade[content]" id="trade_content" cols="60" rows="8" wrap="virtual"></textarea>
                                <font color="#FF3300"><br>
                            </font></p></td>
                          </tr>
                          
                      </table></td>
                    </tr>
                    
                  </table>
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td><table width="100%" border="0" cellpadding="8" cellspacing="1" class="bgblue">
                            <tr>
                              <td align="center" bgcolor="#0099CC" class="zi"><h1>请在下面补充您的联系信息</h1>
                              <a href="./card.php" target="_self" class="font14b_org"><strong></strong></a></td>
                            </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td><table width="100%" border="0" align="center" cellpadding="8" cellspacing="1" class="bgblue">
                            <tr>
                              <td><table width="100%" border="0" cellpadding="2" cellspacing="1">
                                  <tr>
                                    <td width="21%" align="right"><span class="tdleft"><font color="#FF6600">*</font> </span>联系人:</td>
                                    <td width="35%"><input type="text" name="offer[link_man]" id="link_man" value=""></td>
                                    <td width="44%"><{html_radios name="offer[gender]" options=$Genders checked="1" separator=" "}>
                                    <font color="#999999">（全名）</font></td>
                                  </tr>
                                  <tr>
                                    <td align="right">公司名称:</td>
                                    <td><input name="offer[company_name]" id="OfferCompanyName" type="text"></td>
                                    <td><font color="#999999">（公司全称）</font></td>
                                  </tr>
                                  <tr>
                                    <td align="right">详细联系地址:</td>
                                    <td><input name="offer[address]" id="OfferAddress" type="text"></td>
                                    <td>&nbsp;</td>
                                  </tr>
                                  <tr>
                                    <td align="right"><span class="tdleft"><font color="#FF6600">*</font> </span>首选联系电话:</td>
                                    <td><select name="offer[prim_tel]" id="OfferPrimTel">
                <{html_options options=$PhoneTypes selected="1"}>
              </select></td>
                                    <td>号码:<input type="text" name="offer[prim_telnumber]" id="prim_telnumber" value=""></td>
                                  </tr>
                                  <tr>
                                    <td align="right">首选即时通讯:</td>
                                    <td><select name="offer[prim_im]">
                <{html_options options=$ImTypes selected="1"}>
              </select></td>
                                    <td>号码:<input type="text" name="offer[prim_imaccount]"></td>
                                  </tr>
                                  <tr>
                                    <td align="right">电子邮件:</td>
                                    <td><input name="offer[email]" id="OfferEmail" type="text"></td>
                                    <td>&nbsp;</td>
                                  </tr>
<{if $IfVisPostPicture}>
								  <tr>
                                    <td align="right">请输入验证码:</td>
                                    <td><a name="inputAuthNumber" /><input type="text" name="visit_auth_num" id="VisitAuthNumber" size="4" maxlength="4" value="">(<a href="#inputAuthNumber" onclick="$('VisitAuthPicture').src='<{$SiteUrl}>auth_image.php';">看不清楚换一张</a>)</td>
                                    <td><img name="visit_auth_picture" id="VisitAuthPicture" src="<{$SiteUrl}>auth_image.php"></td>
                                  </tr>
<{/if}>                                  
                              </table></td>
                            </tr>
                        </table></td>
                      </tr>
                  </table></td>
              </tr>
              <tr>
                <td height="40" align="center"><br>
                    <input type="submit" name="post" id="Post" value="一切完成,请发布！" onclick="this.value='正在提交您的请求...';return check();">
                </td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
            </table>
          </form></td>
        <TD align="middle" background="<{$tpl_img_path}>default/table_right_bg.gif"></TD>
        </tr>
    <TR>
      <TD width="15" height="12"><img src="<{$tpl_img_path}>default/table_down_left.gif" width="15" height="12"></TD>
      <TD background="<{$tpl_img_path}>default/table_down_bg.gif"></TD>
      <TD width="13" height="12"><img src="<{$tpl_img_path}>default/table_down_right.gif" width="13" height="12"></TD>
    </TR>
      </table>
    </td>
  </tr>
          <tr><td colspan="3"><img src="<{$tpl_img_path}>default/bg_bottom.jpg" width="<{$page_width}>" height="10" alt=""></td></tr>
</table>
<br />
<table width="<{$page_width}>" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><{include file="`$ThemeName`/element.foot.html"}></td>
  </tr>
</table>
</body>
</html>
<script language="javascript">
var linkage = new Linkage("dataSrc", "<{$JS_PATH}>media/xml/industry_option.xml");
linkage.BLANK_SELECT = "请选择";
linkage.init();
var linkage2 = new Linkage("dataSrc2", "<{$JS_PATH}>media/xml/area.xml");
linkage2.BLANK_SELECT = "请选择地区";
linkage2.init();
</script>